/home/estudydev/workspace/eStudy_svn/web/photogallery/index.php File Reference
Go to the source code of this file.
|
Namespaces |
| namespace | eStudy::PhotoGallery |
Enumerations |
| enum | PATH_TO_ROOT |
Variables |
| | if (isset($_POST['startsearch'])) |
| | if (isset($_POST['Cancel'])) |
| | $courseadmin = getGalleryRight('admin') |
| if(isset($_POST['changeorder_x'])&&$courseadmin) | $Tframe = new Template("templates/frame.html") |
| | $Tindex = new Template("templates/main.html") |
| | $Tboard = new Template("templates/forumrow.html") |
| | $lastthreads = '' |
| else | $where = '' |
| | $r_category |
| | $a_lastvisited = array() |
| | $r_board |
| | $bbcode = new BBCode() |
| | $INDEXROWS = '' |
| | $switchicon = $courseadmin ? "<td class='tableHead' style='width:1%'>".Output::getSubmitIcon('icon_moduleswitch', 'Reihenfolge der Alben ändern!', 'changeorder') ."</td>" : '' |
| | $switchspan = $courseadmin ? 6 : 5 |
| while($category=mysql_fetch_array($r_category)) | $searchv = '<form action="'.PATH_TO_ROOT.SCRIPT_NAME.'" method="post">' |
| | $r_post = forum_query("SELECT count(postid) AS postcount FROM forum_post") |
| | $posts = mysql_result($r_post, 0) |
| | $r_thread = forum_query("SELECT count(threadid) AS threadcount FROM forum_thread") |
| | $threads = mysql_result($r_thread, 0) |
| | $newthreads = '<a href="'.build_link("search.php?startsearch=1&searchfor=today") .'" title="Aktive Threads von heute">Aktive Threads von Heute anzeigen</a>' |
| | $servertime = 'Serverzeit: '.form_date(time(), 0) .'.' |
| | $navpath = 'Albenübersicht' |
Enumeration Type Documentation
relativer Pfad zum Root des Portals
Definition at line 52 of file index.php.
Variable Documentation
| $courseadmin = getGalleryRight('admin') |
| $navpath = 'Albenübersicht' |
| $newthreads = '<a href="'.build_link("search.php?startsearch=1&searchfor=today") .'" title="Aktive Threads von heute">Aktive Threads von Heute anzeigen</a>' |
| $posts = mysql_result($r_post, 0) |
Initial value:
forum_query("SELECT boardid, boardname, boardthreads, boardposts,
boardlastpost, boarddescription, boardlastpostby, boardthreadtopic,
boardthreadid, categoryid, helpdesk, boardorder, boarddisabled
FROM forum_board
WHERE $disabled is_photogallery=1 AND categoryid='".$_SESSION["course"]."'
ORDER BY boardorder ASC")
Definition at line 110 of file index.php.
Initial value:
forum_query("SELECT categoryid, categoryname FROM
forum_category ".$where."ORDER BY categoryorder ASC")
Definition at line 88 of file index.php.
| $r_post = forum_query("SELECT count(postid) AS postcount FROM forum_post") |
| $r_thread = forum_query("SELECT count(threadid) AS threadcount FROM forum_thread") |
| while ($category=mysql_fetch_array($r_category)) $searchv = '<form action="'.PATH_TO_ROOT.SCRIPT_NAME.'" method="post">' |
| $servertime = 'Serverzeit: '.form_date(time(), 0) .'.' |
| $switchicon = $courseadmin ? "<td class='tableHead' style='width:1%'>".Output::getSubmitIcon('icon_moduleswitch', 'Reihenfolge der Alben ändern!', 'changeorder') ."</td>" : '' |
| $switchspan = $courseadmin ? 6 : 5 |
| $Tboard = new Template("templates/forumrow.html") |
| if (isset($_POST['changeorder_x'])&&$courseadmin) $Tframe = new Template("templates/frame.html") |
| $threads = mysql_result($r_thread, 0) |
| $Tindex = new Template("templates/main.html") |
| if(isset($_POST['Cancel'])) |
Ausgabe des HTML-Kopfes und der Menues
Definition at line 59 of file index.php.
| if(isset($_POST['startsearch'])) |
Initialisierungsdatei (Einstellungen, Einbindung von Klassen, Session-Start)
Definition at line 53 of file index.php.